保存是总提示<!-- TemplateEndEditable -->错误

来源:百度知道 编辑:UC知道 时间:2024/05/16 14:55:45
<!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/promotion_info.lbi" -->

<!-- {if $promotion_info} -->
<div class="generalBox">
<h2 class="PromotionTitle"></h2>
<ul class="top">
<!-- {foreach from=$promotion_info item=item key=key} -->
<li>
<!-- {if $item.type eq "snatch"} -->
·<a href="snatch.php" title="{$lang.$item.type}">{$lang.snatch_promotion}</a>
<!-- {elseif $item.type eq "group_buy"} -->
·<a href="group_buy.php" title="{$lang.$item.type}">{$lang.group_promotion}</a>
<!-- {elseif $item.type eq "auction"} -->
·<a href="auction.php" title="{$lang.$item.type}">{$lang.auction_promotion}</a>
<!-- {elseif $item.type eq "favourable

in .NET, you shouldn't program like in the old ASP days

but
public void Page_Loand(Object src,EventArgs e){
==> ^^^^^^^
public void Page_Load(Object src,EventArgs e){

你不需要把代码和html语言写在一块,asp.net最大的优势就是实现了代码和htmL的分离,你可以在你的page_load事件里写你的代码,这样检查错误就更容易些。